<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<HTML>
<HEAD>
  <meta http-equiv="Content-Language" content="zh-cn">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link href="${pageContext.request.contextPath}/css/Style1.css" type="text/css" rel="stylesheet"/>
</HEAD>
<style>
  body{
    background: rgba(0, 0, 0, 0.7);
    background-attachment: fixed;
  }
  .container .row .illu{
    background: rgba(0, 0, 0, 0.7);
    height:250px;
    border-radius: 25px;
    color:#0391BC;
  }
  .container .row dl{
    margin-top: 10px
  }
  .container .row dl dt{
    font-family: "微软雅黑";
    font-size: 30px;
  }
  .container .row dl dd{
    font-family: "宋体";
    font-size: 15px;
    line-height: 28px;
    font-weight: bold;
  }
  .container .row dl ul {
    list-style: none;
  }
  @media (min-width:768px) {
    .col-sm-6 {
      margin-left: 20px;
      margin-bottom: 30px;
      width: 45%;
    }
  }
  @media (min-width: 992px) {
    .col-md-4 {
      margin-left: 20px;
      margin-bottom: 30px;
      float: left;
      width: 30%;
    }
  }
  @media (min-width: 1200px) {
    .col-lg-3 {
      margin-left: 20px;
      margin-bottom: 30px;
      width:23%;
    }
    .container .row .col-lg-3 dl dd{
      line-height: 20px;
    }
  }

  /*main样式结束*/

  /*栏目管理样式开始 column*/
  .pos{
    height: 35px;
    font-size: 14px;
    border-bottom:1px solid;
    color: #EFEFF5;
    font-weight: bold;
  }
  .icoh{
    margin-top: 5px;
    display:inline-block;
    width:20px;
    height: 20px;
    line-height: 23px;
  }
  .operate{
    color: #10DDE8;
  }
  .operate .list .tablewrap table .table{
    border:none;

  }

  /*栏目管理样式结束column*/

  /*introduce 公司介绍开始*/

  .line{
    margin:0 10px;
  }
  /*introduce 公司介绍结束*/
  .intro .col-sm-2{
    color:#fff;
    line-height: 210px;
    font-size: 35px;
  }
  .intro .fill{
    height:50px;
  }

  /*网站设置*/
  .iframecontent{
    color: #10DDE8;
  }
  li{
    list-style: none
  }
  input,textarea{
    color:#000;
  }

  .itab ul li {
    float: left;
    margin-right: 5px;
    border: 1px solid #DCE3ED;
    background: #EAEEF4;

  }
  .itab ul li.current-item {
    border-top: 1px solid #DCE3ED;
    border-left: 1px solid #DCE3ED;
    border-right: 1px solid #DCE3ED;
    border-bottom: 1px solid #fff;
    background: #fff;
  }
  .itab ul li a {
    display: block;
    font-size: 14px;
    color: #10DDE8;
    padding: 2px 10px;
  }
  .itab ul li.current-item a {
    font-weight: bold;
  }
  .itabcontent dl {
    margin: 20px 0;
  }
  .itabcontent dl dt {
    width: 12%;
    float: left;
    font-size: 14px;
  }
  .itabcontent dl dt.surebtn {
    text-indent: -9999px;
  }
  .itabcontent dl dd {
    width: 600px;
    float: left;
  }
  .itabcontent dl dd input[type="text"] {
    width: 300px;
  }
  .itabcontent dl dd input[type="radio"] {
    vertical-align: top;
  }
</style>
<body>
<form id="userAction_save_do" name="Form1" action="${pageContext.request.contextPath}/addProduct.do" enctype="multipart/form-data" method="post">
  &nbsp;
  <table cellSpacing="1" cellPadding="5" width="100%" align="center" bgColor="#eeeeee" style="border: 1px solid #8ba7e3" border="0">
    <tr>
      <td class="ta_01" align="center" bgColor="#afd1f3" colSpan="4"
          height="26">
        <strong><STRONG>添加商品</STRONG>
        </strong>
      </td>
    </tr>

    <tr>
      <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">
        商品名称：
      </td>
      <td class="ta_01" bgColor="#ffffff">
        <input type="text" name="pname" value="" id="userAction_save_do_logonName" class="bg"/>
      </td>
      <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">
        所属的二级分类：
      </td>
      <td class="ta_01" bgColor="#ffffff">
        <select name="csid">
          <c:forEach var="cs" items="${clist}">
            <option value="${cs.csid}">${cs.csname}</option>
          </c:forEach>
        </select>
      </td>
    </tr>
    <tr>
      <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">
        商场价：
      </td>
      <td class="ta_01" bgColor="#ffffff">
        <input type="number" name="shop_price" value=""  class="bg"/>
      </td>
      <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">
        市场价：
      </td>
      <td class="ta_01" bgColor="#ffffff">
        <input type="number" name="market_price" value=""  class="bg"/>
      </td>
    </tr>
    <tr>
      <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">
        是否热门：
      </td>
      <td class="ta_01" bgColor="#ffffff">
        <select name="is_hot">
          <option value="1">是</option>
          <option value="0">否</option>
        </select>
      </td>
      <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">
        商品图片：
      </td>
      <td class="ta_01" bgColor="#ffffff">
        <input type="file" name="file"/>
      </td>
    </tr>
    <tr>
      <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">
        商品描述：
      </td>
      <td class="ta_01" bgColor="#ffffff" colspan="3">
        <textarea rows="5" cols="20" name="pdesc"></textarea>
      </td>
    </tr>

    <tr>
      <td class="ta_01" style="width:100%;" align="center"
          bgColor="#f5fafe" colSpan="4">
        <button type="submit" id="userAction_save_do_submit" value="确定" class="button_ok">
          &#30830;&#23450;
        </button>

        <FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
        <button type="reset" value="重置" class="button_cancel">&#37325;&#32622;</button>

        <FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
        <INPUT class="button_ok" type="button" onclick="history.go(-1)" value="返回"/>
        <span id="Label1"></span>
      </td>
    </tr>
  </table>
</form>
</body>
</HTML>